package com.bsj.power.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bsj.power.common.def.entity.exp.TrainPlan;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author yinhao
 * @version 1.0
 * @description 培训计划
 * @date 2024/5/28
 */
@Repository
public interface TrainPlanMapper extends BaseMapper<TrainPlan> {

    /**
     * 获取绑定的培训计划ID
     * @param list
     * @return
     */
    List<Long> selectTrainByCourseIds(List<Long> list);
}
